const util = require('util');
const Abstract = require('./abstract');

function Base() {
  if (!(this instanceof Base)) {
    return new Base();
  }
  
  Abstract.call(this);

  this.name = 'Base';
}
util.inherits(Base, Abstract);

Base.prototype.printText = function(text) {
  console.log(text);
}

module.exports = Base;
